package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.product.CategoryBrandDto;
import com.atguigu.spzx.model.entity.product.Brand;
import com.atguigu.spzx.model.entity.product.CategoryBrand;

import java.util.List;

/**
 * @ClassName: CategoryBrandMapper
 * @Package: com.atguigu.spzx.manager.mapper
 * @Description
 * @Author 孤妤
 * @Date: 2023/12/8 9:53
 */
public interface CategoryBrandMapper {
    List<CategoryBrand> selectCategoryBrandPage(CategoryBrandDto categoryBrandDto);

    void insertCategoryBrand(CategoryBrandDto categoryBrandDto);

    void updateCategoryBrandById(CategoryBrand categoryBrand);

    void deleteCategoryBrandById(Long id);

    List<Brand> selectBrandByCategoryId(Long id);
}
